﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Bon_Hang_Moi.ascx.cs" Inherits="UserConTrols_4Hang_Moi" %>
<asp:Label ID="showthongbaosachmoi" runat="server" Text=""></asp:Label>
<asp:DataList ID="DataList1" runat="server" RepeatColumns="3">
    <HeaderTemplate>
        <div class="cnt_block1">
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <td class="c_top_c">&nbsp;<br />&nbsp;TOP HÀNG MỚI<br />&nbsp;</td>
                </tr>
            </table>
        </div>
    </HeaderTemplate>
    <ItemTemplate>
        <table border="0" width="100%">
	        <tr>
		        <td><div title="<%#Eval("tenhh") %>"><asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%# "../Xem_Hang_Hoa.aspx?mahh=" + Eval("mahh") %>' Text='<%# rutgonten((string)Eval("tenhh"),20,2) %>'></asp:HyperLink>&nbsp;<img border="0" src="images/nut/hot.gif" /></div>
		        </td>
	        </tr>
	        <tr>
		        <td><a href='<%# "Xem_Hang_Hoa.aspx?mahh=" + Eval("mahh") %>'><img border="0" width="100" height="100" src='<%# "anh_san_pham/" + Eval("hinhanh") %>' /></a></td>
	        </tr>
	        <tr>
		        <td>Đơn Giá: <font color="red"><%#Eval("dongia", "{0:#,##0} VN&#272;")%></font></td>
	        </tr>
	        <tr>
		        <td><asp:HyperLink ID="HyperLink6" runat="server" NavigateUrl='<%# "../Xem_Hang_Hoa.aspx?id=add&mahh=" + Eval("mahh") %>' ImageUrl="~/Images/Nut/chonhang.gif"><font color="green"><b>Thêm vào giỏ hàng</b></font></asp:HyperLink>&nbsp;<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "../Xem_Hang_Hoa.aspx?mahh=" + Eval("mahh") %>' ImageUrl="~/images/nut/chitiet.gif">Xem Hàng</asp:HyperLink></td>
	        </tr>
        </table>
    </ItemTemplate>
    <FooterTemplate>
        <br />
        <hr color="#008000" size="1" noshade>
    </FooterTemplate>
</asp:DataList>